package com.mbyte.easy.myVacation.service.impl;

import com.mbyte.easy.myVacation.entity.TVacation;
import com.mbyte.easy.myVacation.mapper.TVacationMapper;
import com.mbyte.easy.myVacation.service.ITVacationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lp
 * @since 2020-06-19
 */
@Service
public class TVacationServiceImpl extends ServiceImpl<TVacationMapper, TVacation> implements ITVacationService {
    @Autowired
    private TVacationMapper vacationMapper;
    @Override
    public int insert(TVacation tVacation) {
        int insert = vacationMapper.insert(tVacation);
        return insert;
    }
}
